ComponentOne Bitmap for WPF
C1.WPF.DX.4.5.2 Assembly / C1.Util.DX Namespace / DataStream Class / Write Method / Write(Byte[],Int32,Int32) Method
An array of bytes. This method copies count bytes from buffer to the current stream.
The zero-based byte offset in buffer at which to begin copying bytes to the current stream.
The number of bytes to be written to the current stream.

In This Topic
    Write(Byte[],Int32,Int32) Method
    In This Topic
    Writes a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written.
    Syntax
    'Declaration
     
    Public Overloads Overrides Sub Write( _
       ByVal buffer() As Byte, _
       ByVal offset As Integer, _
       ByVal count As Integer _
    ) 
    public override void Write( 
       byte[] buffer,
       int offset,
       int count
    )

    Parameters

    buffer
    An array of bytes. This method copies count bytes from buffer to the current stream.
    offset
    The zero-based byte offset in buffer at which to begin copying bytes to the current stream.
    count
    The number of bytes to be written to the current stream.
    Exceptions
    ExceptionDescription
    This stream does not support writing.
    Remarks
    In order to provide faster read/write, this operation doesn't check stream bound. A client must carefully not read/write above the size of this datastream.
    See Also